﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JU.MODEL
{
    public class Order
    {
        /// <summary>
        /// 订单列表Id。自增，起始值为1，增长值为1
        /// </summary>		
        private int _orderid;
        public int OrderId
        {
            get { return _orderid; }
            set { _orderid = value; }
        }

        /// <summary>
        /// 订单编号，以时间戳填充
        /// </summary>		
        private long _ordernumber;
        public long OrderNumber
        {
            get { return _ordernumber; }
            set { _ordernumber = value; }
        }

        /// <summary>
        /// 订单用户ID
        /// </summary>		
        private int _userid;
        public int UserId
        {
            get { return _userid; }
            set { _userid = value; }
        }

        /// <summary>
        /// 订单总价
        /// </summary>		
        private decimal _total;
        public decimal Total
        {
            get { return _total; }
            set { _total = value; }
        }

        /// <summary>
        /// 收货人Id
        /// </summary>		
        private int _consigneeid;
        public int ConsigneeId
        {
            get { return _consigneeid; }
            set { _consigneeid = value; }
        }

        /// <summary>
        /// 订单状态Id
        /// </summary>		
        private int _orderstatusid;
        public int OrderStatusId
        {
            get { return _orderstatusid; }
            set { _orderstatusid = value; }
        }

        /// <summary>
        /// 订单日期
        /// </summary>		
        private DateTime _orderdata;
        public DateTime OrderData
        {
            get { return _orderdata; }
            set { _orderdata = value; }
        }

        /// <summary>
        /// 是否删除，默认为0，意为未删除
        /// </summary>		
        private bool _isdel;
        public bool IsDel
        {
            get { return _isdel; }
            set { _isdel = value; }
        }
    }
}
